package com.lds.xiaohashu.oss.biz.strategy;

import org.springframework.web.multipart.MultipartFile;

/**
 * @program: xiaohashu
 * @description: 文件策略接口
 * @author: lds
 * @create: 2024-11-14 14:37
 **/
public interface FileStrategy {
    /**
     * 文件上传
     *
     * @param file
     * @param bucketName
     * @return
     */
    String uploadFile(MultipartFile file, String bucketName);
}